package com.atguigu.gulimail.Service;

/**
 * @author Guo 2022/9/7 9:32:56
 */
public interface PayService {

    /**
     * 支付接口
     *
     * @param channel 渠道
     * @param amount  金额
     * @return String
     * @author Ye hongzhi
     * @date 2020/4/5
     */
    String pay(String channel, String amount) throws Exception;

    String payByStrategy(String channel,String amount) throws Exception;

}
